package com.pl.grainmall.product.vo;

import com.pl.grainmall.product.entity.SkuImagesEntity;
import com.pl.grainmall.product.entity.SkuInfoEntity;
import com.pl.grainmall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    //1.sku的基本信息获取  pms_sku_info
    SkuInfoEntity skuInfo;

    boolean hasStock =true;

    //2.sku的图片信息  pms_sku_images
    List<SkuImagesEntity> images;

    //3. 获取spu的销售属性组合
    List<SkuItemSaleAttrsVo> saleAttr;


    //4.获取spu的介绍  pms_spu_info_desc
    SpuInfoDescEntity desp;


    //5.获取spu的规格参数信息
    List<SpuItemBaseGroupVo> groupAttrs;


    //TODO 当前商品的秒杀优惠信息
    SeckillInfoVo seckillInfo;


}
